package com.pay.manager.pojo;



import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigInteger;

/**
 * <p>
 * 
 * </p>
 *
 * @author yjw
 * @since 2020-06-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class GoodsOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 商品订单ID
     */
    @TableId(value = "GoodsOrderId")
    private String goodsOrderId;

    /**
     * 商品ID
     */
    @TableField("GoodsId")
    private String goodsId;

    /**
     * 商品名称
     */
    @TableField("GoodsName")
    private String goodsName;

    /**
     * 用户ID
     */
    @TableField("UserId")
    private String userId;

    /**
     * 金额
     */
    @TableField("Amount")
    private BigInteger amount;

    /**
     * 支付订单号
     */
    @TableField("PayOrderId")
    private String payOrderId;

    /**
     * 订单状态,订单生成(0),支付成功(1),处理完成(2),处理失败(-1)
     */
    @TableField("Status")
    private Integer status;

    /**
     * 渠道ID
     */
    @TableField("ChannelId")
    private String channelId;

    /**
     * 支付渠道用户ID(微信openID或支付宝账号等第三方支付账号)
     */
    @TableField("ChannelUserId")
    private String channelUserId;

    /**
     * 创建时间
     */
    @TableField("CreateTime")
    private String createTime;
    /**
     * 更新时间
     */
    @TableField("UpdateTime")
    private String updateTime;


}
